package com.lh.pospi.x_store.modle;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

@Entity
public class BnnerBean {
    @Id(autoincrement = true)
    private Long sid;//定义数据库主键名
    private String detail;
    private String href;
    private int id;
    private String img;
    private String name;
    private String pubDate;
    private int type;
    private int weight;
    public int getWeight() {
        return this.weight;
    }
    public void setWeight(int weight) {
        this.weight = weight;
    }
    public int getType() {
        return this.type;
    }
    public void setType(int type) {
        this.type = type;
    }
    public String getPubDate() {
        return this.pubDate;
    }
    public void setPubDate(String pubDate) {
        this.pubDate = pubDate;
    }
    public String getName() {
        return this.name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getImg() {
        return this.img;
    }
    public void setImg(String img) {
        this.img = img;
    }
    public int getId() {
        return this.id;
    }
    public void setId(int id) {
        this.id = id;
    }
    public String getHref() {
        return this.href;
    }
    public void setHref(String href) {
        this.href = href;
    }
    public String getDetail() {
        return this.detail;
    }
    public void setDetail(String detail) {
        this.detail = detail;
    }
    public Long getSid() {
        return this.sid;
    }
    public void setSid(Long sid) {
        this.sid = sid;
    }
    @Generated(hash = 155347469)
    public BnnerBean(Long sid, String detail, String href, int id, String img,
            String name, String pubDate, int type, int weight) {
        this.sid = sid;
        this.detail = detail;
        this.href = href;
        this.id = id;
        this.img = img;
        this.name = name;
        this.pubDate = pubDate;
        this.type = type;
        this.weight = weight;
    }
    @Generated(hash = 1742620032)
    public BnnerBean() {
    }

    @Override
    public String toString() {
        return "BnnerBean{" +
                "sid=" + sid +
                ", detail='" + detail + '\'' +
                ", href='" + href + '\'' +
                ", id=" + id +
                ", img='" + img + '\'' +
                ", name='" + name + '\'' +
                ", pubDate='" + pubDate + '\'' +
                ", type=" + type +
                ", weight=" + weight +
                '}';
    }
}
